package pl.lsierant.j2me.bipacz.timer;

public class TimerFormatter {
    /**
     * Formats time from milliseconds.
     * 
     * E.g. result: 0:01:12
     */
    public String format(long time) {
        String fmt = (time / 60000) + ":" + ((time % 60000) / 1000) + ":" + (((time % 60000) % 1000) / 10);
        return fmt;
    }
}
